package com.yjq.blog.start;

import com.yjq.blog.ArticleApplication;
import com.yjq.blog.UserApplication;
import com.yjq.blog.eureka.EurekaApplication;
import com.yjq.blog.gateway.GatewayApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
public class StartApplication {

    public static void main(String[] args) {
        System.out.println("StartApplication Start");
        new SpringApplicationBuilder(StartApplication.class)
                .child(EurekaApplication.class)
                .child(GatewayApplication.class)
                .child(UserApplication.class)
                .child(ArticleApplication.class)
                .run(args);
    }

}
